package de.piratech.dasding.data.database.couch.adapters;

import org.codehaus.jackson.annotate.JsonIgnore;

import de.piratech.dasding.data.ActionCategory;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class ActionCategoryAdapter extends ActionCategory {

	public ActionCategoryAdapter() {

	}

	public ActionCategoryAdapter(ActionCategory category) {
		setDescription(category.getDescription());
		setId(category.getId());
		setName(category.getName());
	}

	@Override
	@JsonIgnore
	public boolean isValid() {
		return super.isValid();
	}
}
